package com.itheima.dao;

import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author kabuda
 * @create 2022-08-19 10:52
 */
public interface OrderSettingDao {
    public void add(OrderSetting orderSetting);
    public void edit(OrderSetting orderSetting);
    public Long selectCountByDate(Date orderDate);
    public List<OrderSetting> getOrderSettingByMonth(@Param("date") String date);
    OrderSetting findByOrderDate(Date orderDate);
    //更新已预约人数
    public void editReservationsByOrderDate(OrderSetting orderSetting);

}
